home *** CD-ROM | disk | FTP | other *** search
/ El Mac 9 / El Mac 9.iso / Shareware / Applications / MathPad 2.4 / Documentation / Customizing < prev    next >
Encoding:
Text File  |  1996-04-02  |  3.2 KB  |  38 lines  |  [TEXT/MPad]

  1. ~ -------- Customizing MathPad --------
  2. -- Once you have used MathPad for awhile you will probably have some ideas about how you would like to set it up. Here are a few suggestions.
  3.  
  4. ---------- Apple Menu
  5. -- Replace that lame calculator that came with your system. Put a MathPad document or alias in your Apple Menu Items folder.
  6. -- If you want MathPad to act the way desk accessory calculators operate, turn on the "Save and Quit" option via the Options... menu and save a document in the Apple Menu Items folder. For documents saved with this option on, clicking the window's close box will save the current text and quit the application.
  7. -- If you want MathPad's close box to act like most applications, leave this option off.
  8.  
  9. ---------- Setting Defaults
  10. -- If you would like to change MathPad's default document settings, create a new document with whatever you want for defaults and save it in MathPad's folder as "defaults". This allows setting radians, numeric format, fonts window sizes etc. (You will have to evaluate a plot to set plot window options). Normally you would delete all the text but default text is allowed. If you prefer, you can use the Finder to set this file's stationery flag. MathPad doesn't care but it might remind you of its special status.
  11.  
  12. ---------- Include Files
  13. -- You may wish to save definitions that you find generally useful in one or more include files. A document containing the command  include "name"  will open and read definitions from the named file. You can make a folder containing your favorite include files and put it in MathPad's folder. Then any document can access them with a short relative path name. The "Examples" folder contains some general utility functions in its "incl" folder. If you move this folder to MathPad's folder, any document can access these files via a path name such as ":incl:vector ops"
  14.  
  15. ---------- Compiled Functions
  16. -- XFun files placed in MathPad's folder extend its function menu. See the folder "XFuns". Choose the XFuns you need and move them to MathPad's folder. Remember that adding XFuns will increase MathPad's memory needs. You may want to use the Finder's get info box to increase MathPad's memory size. You can check memory usage after a tough calculation with the About MathPad... box. If the unused space drops below 10K, you should increase MathPad's size allocation.  
  17.  
  18.  
  19.  
  20. ---------- ResEdit
  21. -- For those who really like to mess with details, there are a few resources that can be edited.
  22.  
  23. ---- Customized color tables
  24. -- If you wish to change the way in which image data values are mapped to colors or grayscale, you can edit the following resources:
  25.  
  26.   'PAT#' name="graypats" used when halftone patterns are selected
  27.   'ctbl' id=128 the color table used when gray levels are selected
  28.   'ctbl' id=129 the color table used when color is selected
  29. -- The number of "graypats" can be changed as well as the patterns themselves.
  30. -- The system's default 8-bit grayscale table is used for either 128 or 129 if the color table is missing.
  31.  
  32. ---- Miscellaneous
  33.   'ppat' id=128 the color pen pattern for grid lines
  34.   'ppat' id=129 the color pen pattern for bold grid lines
  35.   'STR#' id=129 name of the default font and size
  36.   'TEXT' id=128 text for general help file
  37. ~
  38.